#include "validationrule.h"

ValidationRule::ValidationRule()
{
    context = RosterContext;
}

ValidationRule::ValidationRule(ValidationContext _context,
                               const QString &_errorMessage,
                               const QString &_script) :
    context(_context), errorMessage(_errorMessage), script(_script)
{

}
